package com.joplus.housekeeper.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/11/3.
 */

public class RecommandCardBean {


    /**
     * code : 2000
     * data : {"recommendList":[{"id":66,"recommendName":"推荐卡片1","recommendLabel":"1","recommendReason":"推荐理由1","category":"EVENT","goPageId":"event1468311361544RpYR","img":"http://image.joplus.cn/2017-04-10/2017041007122704607984.jpg?e=1492658469&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:_C_8tG6Qvz1cUpAxNyLzSfSAAEc=","areaId":"area1476075851393EjKc","recommendUserType":null,"recommendId":"rec1491559372486Z7gd","parentId":"bed13d20e73d44bea3d0c3106845912d","createDate":1491559320000,"recommendUser":null,"onlineDate":1491559320000,"status":"1"},{"id":70,"recommendName":"123","recommendLabel":"1","recommendReason":"123","category":"RESTAURANT","goPageId":"rest132","img":"http://image.joplus.cn/2017-04-14/2017041410342112105616.jpg?e=1492658469&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:xDn7GLM6IEaksFw5xX7p1mX4R8M=","areaId":"area1476075851393EjKc","recommendUserType":"all","recommendId":"rec1492137263276yk95","parentId":"bed13d20e73d44bea3d0c3106845912d","createDate":1492137263000,"recommendUser":null,"onlineDate":1492137240000,"status":"1"}]}
     * message : 查询成功
     */
    public ChatCard converToChatCard() {
        ChatCard chatCard = new ChatCard();
        chatCard.setRecommandCardBean(this);
        chatCard.setSubject("recommendType");
        return chatCard;
    }
    private String code;
    private DataBean data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * id : 66
         * recommendName : 推荐卡片1
         * recommendLabel : 1
         * recommendReason : 推荐理由1
         * category : EVENT
         * goPageId : event1468311361544RpYR
         * img : http://image.joplus.cn/2017-04-10/2017041007122704607984.jpg?e=1492658469&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:_C_8tG6Qvz1cUpAxNyLzSfSAAEc=
         * areaId : area1476075851393EjKc
         * recommendUserType : null
         * recommendId : rec1491559372486Z7gd
         * parentId : bed13d20e73d44bea3d0c3106845912d
         * createDate : 1491559320000
         * recommendUser : null
         * onlineDate : 1491559320000
         * status : 1
         */

        private List<RecommendListBean> recommendList;

        public List<RecommendListBean> getRecommendList() {
            return recommendList;
        }

        public void setRecommendList(List<RecommendListBean> recommendList) {
            this.recommendList = recommendList;
        }

        public static class RecommendListBean {
            private int id;
            private String recommendName;
            private String recommendLabel;
            private String recommendReason;
            private String category;
            private String goPageId;
            private String img;
            private String areaId;
            private Object recommendUserType;
            private String recommendId;
            private String parentId;
            private long createDate;
            private Object recommendUser;
            private long onlineDate;
            private String status;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getRecommendName() {
                return recommendName;
            }

            public void setRecommendName(String recommendName) {
                this.recommendName = recommendName;
            }

            public String getRecommendLabel() {
                return recommendLabel;
            }

            public void setRecommendLabel(String recommendLabel) {
                this.recommendLabel = recommendLabel;
            }

            public String getRecommendReason() {
                return recommendReason;
            }

            public void setRecommendReason(String recommendReason) {
                this.recommendReason = recommendReason;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getGoPageId() {
                return goPageId;
            }

            public void setGoPageId(String goPageId) {
                this.goPageId = goPageId;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getAreaId() {
                return areaId;
            }

            public void setAreaId(String areaId) {
                this.areaId = areaId;
            }

            public Object getRecommendUserType() {
                return recommendUserType;
            }

            public void setRecommendUserType(Object recommendUserType) {
                this.recommendUserType = recommendUserType;
            }

            public String getRecommendId() {
                return recommendId;
            }

            public void setRecommendId(String recommendId) {
                this.recommendId = recommendId;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public long getCreateDate() {
                return createDate;
            }

            public void setCreateDate(long createDate) {
                this.createDate = createDate;
            }

            public Object getRecommendUser() {
                return recommendUser;
            }

            public void setRecommendUser(Object recommendUser) {
                this.recommendUser = recommendUser;
            }

            public long getOnlineDate() {
                return onlineDate;
            }

            public void setOnlineDate(long onlineDate) {
                this.onlineDate = onlineDate;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }
    }
}
